var search=document.querySelector('.spann')
var spann1=document.querySelector('.spann1')
search.onclick=function(){
    var val=this.previousElementSibling.value
    var  str=`
            <a href="./spzs.html?key=${val}"></a>
            `
    spann1.innerHTML=str
}
